package cn.itcast.service.impl;

import cn.itcast.dao.UserDao;
import cn.itcast.domain.User;
import cn.itcast.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServcieImpl implements UserService {
    private UserDao userDao;
    public List<User> findAll() {
        List<User> users = userDao.findAll();
        return users;
    }
}
